package com.jsmtr.rms.entity;

import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "UserResume")
public class UserResume {

    @Id
    @Column(nullable = false, length = 50)
    private String id; // id

    @Column(nullable = false, length = 10)
    private String code; // 简历编号

    @Column(nullable = false, length = 50)
    private String userid; // 应聘者ID

    @Column(nullable = false, length = 50)
    private String head; // 应聘者照片

    @Column(nullable = false, length = 50)
    private String name; // 应聘者姓名

    @Column(nullable = true, length = 10)
    private String sexcode; // 应聘者性别

    @Column(nullable = true, length = 10)
    private String sexname; // 应聘者性别

    @Column(nullable = true, length = 20)
    private String mzcode; // 应聘者民族

    @Column(nullable = true, length = 50)
    private String mzname; // 应聘者民族

    @Column(nullable = true, length = 10)
    private String education; // 应聘者最高学历

    @Column(nullable = true, length = 50)
    private String educationname; // 应聘者最高学历

    @Column(nullable = true, length = 100)
    private String university; // 应聘者毕业院校

    @Column(nullable = true, length = 100)
    private String majorname; // 应聘者所学专业

    @Column(nullable = false, length = 11)
    private String tel;  // 应聘者手机号

    @Column(nullable = true, length = 50)
    private String email; // 应聘者电子邮件

    @Column(nullable = false, length = 25)
    private String cardno; // 应聘者身份证号

    @Column(nullable = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday; // 应聘者出生日期

    @Column(nullable = true, length = 200)
    private String nowaddress; // 应聘者现居住地

    @Column(nullable = true, length = 200)
    private String cardaddress; // 应聘者身份证所在地

    @Column(nullable = true, length = 200)
    private String hukouaddress; // 应聘者户口所在地

    @Column(nullable = false, length = 200)
    private String jg; // 应聘者籍贯

    @Column(nullable = true, length = 50)
    private String hkcode;  // 应聘者户口性质

    @Column(nullable = true, length = 50)
    private String hkname;  // 应聘者户口性质名称

    @Column(nullable = true, length = 50)
    private String zzmmcode;  // 应聘者政治面貌

    @Column(nullable = true, length = 50)
    private String zzmmname;  // 应聘者政治面貌

    @Column(nullable = true)
    private Integer height; // 应聘者身高

    @Column(nullable = true)
    private Integer weight; // 应聘者体重

    @Column(nullable = true, length = 50)
    private String mcode; // 应聘者婚姻状况

    @Column(nullable = true, length = 50)
    private String mname; // 应聘者婚姻状况

    @Column(nullable = true)
    private String graduationtime; // 应聘者毕业时间

    @Column(nullable = true, length = 20)
    private String hometel; // 应聘者家庭电话

    @Column(nullable = true, length = 20)
    private String workexperience; // 应聘者工作经验

    @Column(nullable = true, length = 50)
    private String attendancetime; // 应聘者到岗时间

    @Column(nullable = true, length = 255)
    private String presentsalaryamount; // 应聘者目前月薪

    @Column(nullable = true, length = 20)
    private String expectedsalaryamount; // 应聘者期望月薪

    @Column(nullable = true, length = 10)
    private Integer distribution = 1; // 应聘者是否服从调配

    @Column(nullable = true, length = 50)
    private String posttypecode; // 专业技术职务(类别)

    @Column(nullable = true, length = 50)
    private String posttypename; // 专业技术职务(类别)

    @Column(nullable = true, length = 100)
    private String postspecialty; // 专业技术职务(专业)

    @Column(nullable = true, length = 10)
    private String postlevelcode; // 专业技术职务(名称)

    @Column(nullable = true, length = 50)
    private String postlevelname; // 专业技术职务(名称)

    @Column(nullable = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date postgettime; // 专业技术职务(取得时间)

    @Column(nullable = true, length = 100)
    private String postcompany; // 专业技术职务(发证机构)

    @Column(nullable = true, length = 100)
    private String qltype; // 职业资格证(工种)

    @Column(nullable = true, length = 50)
    private String qllevelpid; // 职业资格证(技能等级-父级编号)

    @Column(nullable = true, length = 50)
    private String qllevelpname; // 职业资格证(技能等级-父级名称)

    @Column(nullable = true, length = 50)
    private String qllevelcode; // 职业资格证(技能等级-编号)

    @Column(nullable = true, length = 50)
    private String qllevelname; // 职业资格证(技能等级-名称)

    @Column(nullable = true, length = 50)
    private String qllevelscode; // 职业资格证(技能等级-细分编号)

    @Column(nullable = true, length = 50)
    private String qllevelsname; // 职业资格证(技能等级-细分名称)

    @Column(nullable = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date qlgettime; // 职业资格证(取得时间)

    @Column(nullable = true, length = 100)
    private String qlorg; // 职业资格证(发证机构)

    @Column(nullable = true, length = 100)
    private String othname; // 其他资格证(名称)

    @Column(nullable = true, length = 50)
    private String othtypecode; // 其他资格证(类型)

    @Column(nullable = true, length = 50)
    private String othtypename; // 其他资格证(类型)

    @Column(nullable = true, length = 50)
    private String othzy; // 其他资格证(专业)

    @Column(nullable = true, length = 50)
    private String othlevel; // 其他资格证(等级)

    @Column(nullable = true, length = 50)
    private String othcode; // 其他资格证(证书编号)

    @Column(nullable = true, length = 100)
    private String othorg; // 其他资格证(发证机构)

    @Column(nullable = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date othdate; // 其他资格证(取得时间)

    @Column(nullable = true, length = 50)
    private String libid; // 人才储备库ID

    @Column(nullable = true, length = 50)
    private String libname; // 人才储备库名称

    @Column(nullable = true, length = 500)
    private String introduction;//个人说明

    @Column(name = "resume_type", nullable = false)
    private Integer resumeType; //简历类型

    @Column(nullable = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date workdate; // 应聘者工作开始日期

    @Column(nullable = true)
    private String birthplace; //出生地

    @Column(name = "join_time", nullable = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date joinTime; //参工时间

    @Column(name = "english_level", nullable = true)
    private String englishLevel; //外语水平

    @Column(nullable = true)
    private String qq; //QQ

    @Column(nullable = true)
    private String hobby; //爱好

    @Column(name = "grade_average", nullable = true)
    private String gradeAverage; //平均分

    @Column(nullable = true)
    private String point; //绩点

    @Column(name = "main_performance", nullable = true)
    private String mainPerformance; //工作业绩

    public String getDegreeCode() {
        return degreeCode;
    }

    public void setDegreeCode(String degreeCode) {
        this.degreeCode = degreeCode;
    }

    @Column(name = "degree_code", nullable = true)
    private String degreeCode; //学位编码

    public String getDegreeName() {
        return degreeName;
    }

    public void setDegreeName(String degreeName) {
        this.degreeName = degreeName;
    }

    @Column(name = "degree_name", nullable = true)
    private String degreeName; //学位名称

    @Column(nullable = true)
    private String graduate; //应往届，是或否

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    @Column(nullable = true)
    private String age; //年龄

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSexcode() {
        return sexcode;
    }

    public void setSexcode(String sexcode) {
        this.sexcode = sexcode;
    }

    public String getSexname() {
        return sexname;
    }

    public void setSexname(String sexname) {
        this.sexname = sexname;
    }

    public String getMzcode() {
        return mzcode;
    }

    public void setMzcode(String mzcode) {
        this.mzcode = mzcode;
    }

    public String getMzname() {
        return mzname;
    }

    public void setMzname(String mzname) {
        this.mzname = mzname;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getEducationname() {
        return educationname;
    }

    public void setEducationname(String educationname) {
        this.educationname = educationname;
    }

    public String getUniversity() {
        return university;
    }

    public void setUniversity(String university) {
        this.university = university;
    }

    public String getMajorname() {
        return majorname;
    }

    public void setMajorname(String majorname) {
        this.majorname = majorname;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCardno() {
        return cardno;
    }

    public void setCardno(String cardno) {
        this.cardno = cardno;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getNowaddress() {
        return nowaddress;
    }

    public void setNowaddress(String nowaddress) {
        this.nowaddress = nowaddress;
    }

    public String getCardaddress() {
        return cardaddress;
    }

    public void setCardaddress(String cardaddress) {
        this.cardaddress = cardaddress;
    }

    public String getHukouaddress() {
        return hukouaddress;
    }

    public void setHukouaddress(String hukouaddress) {
        this.hukouaddress = hukouaddress;
    }

    public String getJg() {
        return jg;
    }

    public void setJg(String jg) {
        this.jg = jg;
    }

    public String getHkcode() {
        return hkcode;
    }

    public void setHkcode(String hkcode) {
        this.hkcode = hkcode;
    }

    public String getHkname() {
        return hkname;
    }

    public void setHkname(String hkname) {
        this.hkname = hkname;
    }

    public String getZzmmcode() {
        return zzmmcode;
    }

    public void setZzmmcode(String zzmmcode) {
        this.zzmmcode = zzmmcode;
    }

    public String getZzmmname() {
        return zzmmname;
    }

    public void setZzmmname(String zzmmname) {
        this.zzmmname = zzmmname;
    }

    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    public String getMcode() {
        return mcode;
    }

    public void setMcode(String mcode) {
        this.mcode = mcode;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public String getGraduationtime() {
        return graduationtime;
    }

    public void setGraduationtime(String graduationtime) {
        this.graduationtime = graduationtime;
    }

    public String getHometel() {
        return hometel;
    }

    public void setHometel(String hometel) {
        this.hometel = hometel;
    }

    public String getWorkexperience() {
        return workexperience;
    }

    public void setWorkexperience(String workexperience) {
        this.workexperience = workexperience;
    }

    public String getAttendancetime() {
        return attendancetime;
    }

    public void setAttendancetime(String attendancetime) {
        this.attendancetime = attendancetime;
    }

    public String getPresentsalaryamount() {
        return presentsalaryamount;
    }

    public void setPresentsalaryamount(String presentsalaryamount) {
        this.presentsalaryamount = presentsalaryamount;
    }

    public String getExpectedsalaryamount() {
        return expectedsalaryamount;
    }

    public void setExpectedsalaryamount(String expectedsalaryamount) {
        this.expectedsalaryamount = expectedsalaryamount;
    }

    public Integer getDistribution() {
        return distribution;
    }

    public void setDistribution(Integer distribution) {
        this.distribution = distribution;
    }

    public String getPosttypecode() {
        return posttypecode;
    }

    public void setPosttypecode(String posttypecode) {
        this.posttypecode = posttypecode;
    }

    public String getPosttypename() {
        return posttypename;
    }

    public void setPosttypename(String posttypename) {
        this.posttypename = posttypename;
    }

    public String getPostspecialty() {
        return postspecialty;
    }

    public void setPostspecialty(String postspecialty) {
        this.postspecialty = postspecialty;
    }

    public String getPostlevelcode() {
        return postlevelcode;
    }

    public void setPostlevelcode(String postlevelcode) {
        this.postlevelcode = postlevelcode;
    }

    public String getPostlevelname() {
        return postlevelname;
    }

    public void setPostlevelname(String postlevelname) {
        this.postlevelname = postlevelname;
    }

    public Date getPostgettime() {
        return postgettime;
    }

    public void setPostgettime(Date postgettime) {
        this.postgettime = postgettime;
    }

    public String getPostcompany() {
        return postcompany;
    }

    public void setPostcompany(String postcompany) {
        this.postcompany = postcompany;
    }

    public String getQltype() {
        return qltype;
    }

    public void setQltype(String qltype) {
        this.qltype = qltype;
    }

    public String getQllevelpid() {
        return qllevelpid;
    }

    public void setQllevelpid(String qllevelpid) {
        this.qllevelpid = qllevelpid;
    }

    public String getQllevelpname() {
        return qllevelpname;
    }

    public void setQllevelpname(String qllevelpname) {
        this.qllevelpname = qllevelpname;
    }

    public String getQllevelcode() {
        return qllevelcode;
    }

    public void setQllevelcode(String qllevelcode) {
        this.qllevelcode = qllevelcode;
    }

    public String getQllevelname() {
        return qllevelname;
    }

    public void setQllevelname(String qllevelname) {
        this.qllevelname = qllevelname;
    }

    public String getQllevelscode() {
        return qllevelscode;
    }

    public void setQllevelscode(String qllevelscode) {
        this.qllevelscode = qllevelscode;
    }

    public String getQllevelsname() {
        return qllevelsname;
    }

    public void setQllevelsname(String qllevelsname) {
        this.qllevelsname = qllevelsname;
    }

    public Date getQlgettime() {
        return qlgettime;
    }

    public void setQlgettime(Date qlgettime) {
        this.qlgettime = qlgettime;
    }

    public String getQlorg() {
        return qlorg;
    }

    public void setQlorg(String qlorg) {
        this.qlorg = qlorg;
    }

    public String getOthname() {
        return othname;
    }

    public void setOthname(String othname) {
        this.othname = othname;
    }

    public String getOthtypecode() {
        return othtypecode;
    }

    public void setOthtypecode(String othtypecode) {
        this.othtypecode = othtypecode;
    }

    public String getOthtypename() {
        return othtypename;
    }

    public void setOthtypename(String othtypename) {
        this.othtypename = othtypename;
    }

    public String getOthzy() {
        return othzy;
    }

    public void setOthzy(String othzy) {
        this.othzy = othzy;
    }

    public String getOthlevel() {
        return othlevel;
    }

    public void setOthlevel(String othlevel) {
        this.othlevel = othlevel;
    }

    public String getOthcode() {
        return othcode;
    }

    public void setOthcode(String othcode) {
        this.othcode = othcode;
    }

    public String getOthorg() {
        return othorg;
    }

    public void setOthorg(String othorg) {
        this.othorg = othorg;
    }

    public Date getOthdate() {
        return othdate;
    }

    public void setOthdate(Date othdate) {
        this.othdate = othdate;
    }

    public String getLibid() {
        return libid;
    }

    public void setLibid(String libid) {
        this.libid = libid;
    }

    public String getLibname() {
        return libname;
    }

    public void setLibname(String libname) {
        this.libname = libname;
    }

    public String getIntroduction() {
        return this.introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public Integer getResumeType() {
        return resumeType;
    }

    public void setResumeType(Integer resumeType) {
        this.resumeType = resumeType;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public Date getWorkdate() {
        return workdate;
    }

    public void setWorkdate(Date workdate) {
        this.workdate = workdate;
    }

    public String getBirthplace() {
        return birthplace;
    }

    public void setBirthplace(String birthplace) {
        this.birthplace = birthplace;
    }

    public Date getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(Date joinTime) {
        this.joinTime = joinTime;
    }

    public String getEnglishLevel() {
        return englishLevel;
    }

    public void setEnglishLevel(String englishLevel) {
        this.englishLevel = englishLevel;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public String getGradeAverage() {
        return gradeAverage;
    }

    public void setGradeAverage(String gradeAverage) {
        this.gradeAverage = gradeAverage;
    }

    public String getPoint() {
        return point;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public String getMainPerformance() {
        return mainPerformance;
    }

    public void setMainPerformance(String mainPerformance) {
        this.mainPerformance = mainPerformance;
    }

    public String getGraduate() {
        return graduate;
    }

    public void setGraduate(String graduate) {
        this.graduate = graduate;
    }
}